using UnityEngine;
using UnityEngine.AddressableAssets;

namespace OneGame
{
    [CreateAssetMenu(fileName = "Preload Config", menuName = "OneGame/Preload Config")]
    public class PreloadConfig : ScriptableObject
    {
        [SerializeField]
        public PreloadConfigItem[] preloads;
    }

    [System.Serializable]
    public class PreloadConfigItem
    {
        public string name;
        public AssetReferenceGameObject asset;
        public int preloadCount;
    }
}